// 封装组件为插件
import PageTools from './pageTools/index.vue'
import UpLoadExcel from './UploadExcel/index.vue'
import pullDown from './pulldown/pullDown.vue'
import uploadImg from './uploadImg/index.vue'
import ScreenFull from './screenfull/index.vue'
import Lang from './language/'

const components = [Lang, UpLoadExcel, PageTools, pullDown, uploadImg, ScreenFull]
export default {
  install (vue) {
    // vue.component('PageTools', PageTools)
    components.forEach(item => {
      vue.component(item.name, item)
    })
  }
}
